package com.hhkj.study.api.user.model.req;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author luowu
 * @Date 2024/10/14 涵 15:15:36
 */
@Data
public class ApiCustomerUserCourseBaseReq implements Serializable {

    /**
     * 子订单id
     */
    @NotNull(message = "订单详情id不能为空")
    private Long orderItemId;

    /**
     * 入口1/null-练习记录 2-刷题记录
     */
    private Integer type;
    /**
     * 课程id
     */
    @NotNull(message = "课程id不能为空")
    private Long courseId;

    /**
     * 用户id
     */
    private Long userId;
}
